Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[inspector] Fix def-current-value selecting wrong REPL #3757

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

alexander-yakushev
Copy link
Member

Inspector's cider-inspector-def-current-val (hotkey d) behaves incorrectly if multiple REPLs are connected. It rebinds our carefully managed cider-inspector--current-repl with (cider-current-repl) which returns whatever in non-file and non-REPL buffers.

Perhaps, this is another reminder to make a generic "we know this buffer is associated with this REPL" variable and account for it in (cider-current-repl).

@bbatsov bbatsov merged commit 9f2d715 into master Nov 15, 2024
39 checks passed
@bbatsov bbatsov deleted the fix-def-inspector branch November 15, 2024 03:41
@bbatsov
Copy link
Member

bbatsov commented Nov 15, 2024

Perhaps, this is another reminder to make a generic "we know this buffer is associated with this REPL" variable and account for it in (cider-current-repl).

Agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants